package com.dawn.iiotgateway;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.dawn.iiotgateway.mapper")
@EnableScheduling
public class IIoTGatewayApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext ioc = SpringApplication.run(IIoTGatewayApplication.class, args);
        String[] beanDefinitionNames = ioc.getBeanDefinitionNames();

//        for (String beanDefinitionName : beanDefinitionNames) {
//            System.out.println("#### beanDefinitionName: " + beanDefinitionName);
//        }


    }

}
